FROM node:8.12.0-alpine

COPY . /app
WORKDIR /app
RUN cd browser && yarn && yarn run build:prod && mv dist /tmp && cd /app && rm -rf ./* && mv /tmp/dist/* /app/ &&ls
ENTRYPOINT cp -R /app/* /data/front/
